package com.tnl.app.service;

import java.util.List;

import com.tnl.app.entity.Employee;
import com.tnl.app.entity.EmployeePerson;
import com.tnl.app.entity.JobDesc;
import com.tnl.app.entity.Person;


public interface IEmployeeService {
	
	public void updateEmployeeProfile(Employee emp,Person person);
	
	public int updateBaseProfile(Person person);
	
	public Employee getEmpByPhone(String phone,String openid);
	
	public void saveSecureCode(Employee emp);
	
	public int SavePersonBaseProfile(Person person);
	
	public void saveResumeDomain(Employee emp,Person person);
	
	public void saveResumeCreateDomain(Employee emp,Person person);
	
	public int saveResumeNowPosi(Person person);
	
	public int saveResumeDreamPosi(Employee emp);
	
	public Employee getEmpByPhone(String phone);
	
	public Employee getByEmpId(int employeeid);
	
	public Employee getEmpByUnionid(String unionid);
	
	public Person getById(int personId);
	
	public long bindedPhone(Employee emp);
	
	public List<EmployeePerson> searchEmployeesByJob(JobDesc job,Integer personid);
	
	public List<EmployeePerson> searchEmployeesByJob1(JobDesc job,Integer personid);
	
	public List<EmployeePerson> searchEmployeesByJob2(JobDesc job,Integer personid);
	
	public List<EmployeePerson> searchEmployeesByJob3(JobDesc job,Integer personid);

	public EmployeePerson save(EmployeePerson emp);

	public EmployeePerson getEmpPersonByUnionid(String unionid);
	
}
